<template>
  <van-cell-group>
    <van-cell
      v-for="item in list"
      :key="item.scheduleId"
      :title="dayjs.unix(item.showAt).format('HH:mm')"
      :label="dayjs.unix(item.endAt).format('HH:mm')"
    />
  </van-cell-group>
</template>

<script lang="ts" setup>
import dayjs from 'dayjs'

defineProps<{
  list: ISchedule[]
}>()
</script>
